package com.quanyue.mechanics.user.mapper;

import com.quanyue.mechanics.domain.constant.ApplyStatus;
import com.quanyue.mechanics.domain.entity.Domain;
import com.quanyue.mechanics.user.type.DomainItem;
import com.vhuomai.mybatis.mapper.auto.AutoMapper;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface DomainMapper extends AutoMapper <Domain, Integer> {
    List <DomainItem> findByStatus(@Param("status") ApplyStatus status);
}
